export interface userInfo {
  success: string
  code: number
  message: string
  data: userInfoData
}

export interface userInfoData {
  routes: []
  buttons: []
  roles: string
  name: string
  avatar: string
}

//登录的时候的接口
export interface loginType {
  success: string
  code: number
  message: string
  data: loginTypeItem
}

export interface loginTypeItem {
  token: string
}
